package students.po;

import java.io.Serializable;

public class Majorclass implements Serializable{
	private int classId;
	private String className;
	
	public Majorclass() {
		super();
	}
	public Majorclass(int classId, String className) {
		super();
		this.classId = classId;
		this.className = className;
	}
	
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	@Override
	public String toString() {
		return "Majorclass [classId=" + classId + ", className=" + className + "]";
	}
	

}
